package com.hxh.component.business.ui.bean;/**
 * Created by hxh on 2017/8/16.
 */

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * 创建者：hxh
 * 时间：  2017/8/16
 * 描述：
 */
public class UserCompanyListBean {


    /**
     * total_count : 1
     * items : [{"id":"122504047520387072","is_open_account":"n","name":"蜗壳爱智能科技","account":"","org_code":"","contact_name":"周正友","contact_mobile":"15510382586","contact_position":"","address":"","source":"","industry":"","extra":null,"introduction":"","images":null,"legal_entities":null,"created_by":"0","tenant_id":"122504047369392128","created_at":1504612072,"updated_at":1504612072,"status":"active","biz_owner":"","service_owner":"","customer_tenant_id":"122371433052508160","brief_name":"","phone":"","email":"","province":"","province_code":"","city":"","city_code":"","district":"","district_code":""}]
     */

    private int total_count;
    private List<ItemsBean> items;

    public int getTotal_count() {
        return total_count;
    }

    public void setTotal_count(int total_count) {
        this.total_count = total_count;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public static class ItemsBean implements Parcelable {
        /**
         * id : 122504047520387072
         * is_open_account : n
         * name : 蜗壳爱智能科技
         * account :
         * org_code :
         * contact_name : 周正友
         * contact_mobile : 15510382586
         * contact_position :
         * address :
         * source :
         * industry :
         * extra : null
         * introduction :
         * images : null
         * legal_entities : null
         * created_by : 0
         * tenant_id : 122504047369392128
         * created_at : 1504612072
         * updated_at : 1504612072
         * status : active
         * biz_owner :
         * service_owner :
         * customer_tenant_id : 122371433052508160
         * brief_name :
         * phone :
         * email :
         * province :
         * province_code :
         * city :
         * city_code :
         * district :
         * district_code :
         */

        private String id;
        private String is_open_account;
        private String name;
        private String account;
        private String org_code;
        private String contact_name;
        private String contact_mobile;
        private String contact_position;
        private String address;
        private String source;
        private String industry;
        private Object extra;
        private String introduction;
        private Object images;
        private Object legal_entities;
        private String created_by;
        private String tenant_id;
        private int created_at;
        private int updated_at;
        private String status;
        private String biz_owner;
        private String service_owner;
        private String customer_tenant_id;
        private String brief_name;
        private String phone;
        private String email;
        private String province;
        private String province_code;
        private String city;
        private String city_code;
        private String district;
        private String district_code;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIs_open_account() {
            return is_open_account;
        }

        public void setIs_open_account(String is_open_account) {
            this.is_open_account = is_open_account;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAccount() {
            return account;
        }

        public void setAccount(String account) {
            this.account = account;
        }

        public String getOrg_code() {
            return org_code;
        }

        public void setOrg_code(String org_code) {
            this.org_code = org_code;
        }

        public String getContact_name() {
            return contact_name;
        }

        public void setContact_name(String contact_name) {
            this.contact_name = contact_name;
        }

        public String getContact_mobile() {
            return contact_mobile;
        }

        public void setContact_mobile(String contact_mobile) {
            this.contact_mobile = contact_mobile;
        }

        public String getContact_position() {
            return contact_position;
        }

        public void setContact_position(String contact_position) {
            this.contact_position = contact_position;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getSource() {
            return source;
        }

        public void setSource(String source) {
            this.source = source;
        }

        public String getIndustry() {
            return industry;
        }

        public void setIndustry(String industry) {
            this.industry = industry;
        }

        public Object getExtra() {
            return extra;
        }

        public void setExtra(Object extra) {
            this.extra = extra;
        }

        public String getIntroduction() {
            return introduction;
        }

        public void setIntroduction(String introduction) {
            this.introduction = introduction;
        }

        public Object getImages() {
            return images;
        }

        public void setImages(Object images) {
            this.images = images;
        }

        public Object getLegal_entities() {
            return legal_entities;
        }

        public void setLegal_entities(Object legal_entities) {
            this.legal_entities = legal_entities;
        }

        public String getCreated_by() {
            return created_by;
        }

        public void setCreated_by(String created_by) {
            this.created_by = created_by;
        }

        public String getTenant_id() {
            return tenant_id;
        }

        public void setTenant_id(String tenant_id) {
            this.tenant_id = tenant_id;
        }

        public int getCreated_at() {
            return created_at;
        }

        public void setCreated_at(int created_at) {
            this.created_at = created_at;
        }

        public int getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(int updated_at) {
            this.updated_at = updated_at;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getBiz_owner() {
            return biz_owner;
        }

        public void setBiz_owner(String biz_owner) {
            this.biz_owner = biz_owner;
        }

        public String getService_owner() {
            return service_owner;
        }

        public void setService_owner(String service_owner) {
            this.service_owner = service_owner;
        }

        public String getCustomer_tenant_id() {
            return customer_tenant_id;
        }

        public void setCustomer_tenant_id(String customer_tenant_id) {
            this.customer_tenant_id = customer_tenant_id;
        }

        public String getBrief_name() {
            return brief_name;
        }

        public void setBrief_name(String brief_name) {
            this.brief_name = brief_name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getProvince_code() {
            return province_code;
        }

        public void setProvince_code(String province_code) {
            this.province_code = province_code;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCity_code() {
            return city_code;
        }

        public void setCity_code(String city_code) {
            this.city_code = city_code;
        }

        public String getDistrict() {
            return district;
        }

        public void setDistrict(String district) {
            this.district = district;
        }

        public String getDistrict_code() {
            return district_code;
        }

        public void setDistrict_code(String district_code) {
            this.district_code = district_code;
        }

        @Override
        public int describeContents() {
            return 0;
        }

        @Override
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeString(this.id);
            dest.writeString(this.is_open_account);
            dest.writeString(this.name);
            dest.writeString(this.account);
            dest.writeString(this.org_code);
            dest.writeString(this.contact_name);
            dest.writeString(this.contact_mobile);
            dest.writeString(this.contact_position);
            dest.writeString(this.address);
            dest.writeString(this.source);
            dest.writeString(this.industry);
            dest.writeParcelable((Parcelable) this.extra, flags);
            dest.writeString(this.introduction);
            dest.writeParcelable((Parcelable) this.images, flags);
            dest.writeParcelable((Parcelable) this.legal_entities, flags);
            dest.writeString(this.created_by);
            dest.writeString(this.tenant_id);
            dest.writeInt(this.created_at);
            dest.writeInt(this.updated_at);
            dest.writeString(this.status);
            dest.writeString(this.biz_owner);
            dest.writeString(this.service_owner);
            dest.writeString(this.customer_tenant_id);
            dest.writeString(this.brief_name);
            dest.writeString(this.phone);
            dest.writeString(this.email);
            dest.writeString(this.province);
            dest.writeString(this.province_code);
            dest.writeString(this.city);
            dest.writeString(this.city_code);
            dest.writeString(this.district);
            dest.writeString(this.district_code);
        }

        public ItemsBean() {
        }

        protected ItemsBean(Parcel in) {
            this.id = in.readString();
            this.is_open_account = in.readString();
            this.name = in.readString();
            this.account = in.readString();
            this.org_code = in.readString();
            this.contact_name = in.readString();
            this.contact_mobile = in.readString();
            this.contact_position = in.readString();
            this.address = in.readString();
            this.source = in.readString();
            this.industry = in.readString();
            this.extra = in.readParcelable(Object.class.getClassLoader());
            this.introduction = in.readString();
            this.images = in.readParcelable(Object.class.getClassLoader());
            this.legal_entities = in.readParcelable(Object.class.getClassLoader());
            this.created_by = in.readString();
            this.tenant_id = in.readString();
            this.created_at = in.readInt();
            this.updated_at = in.readInt();
            this.status = in.readString();
            this.biz_owner = in.readString();
            this.service_owner = in.readString();
            this.customer_tenant_id = in.readString();
            this.brief_name = in.readString();
            this.phone = in.readString();
            this.email = in.readString();
            this.province = in.readString();
            this.province_code = in.readString();
            this.city = in.readString();
            this.city_code = in.readString();
            this.district = in.readString();
            this.district_code = in.readString();
        }

        public static final Parcelable.Creator<ItemsBean> CREATOR = new Parcelable.Creator<ItemsBean>() {
            @Override
            public ItemsBean createFromParcel(Parcel source) {
                return new ItemsBean(source);
            }

            @Override
            public ItemsBean[] newArray(int size) {
                return new ItemsBean[size];
            }
        };
    }
}
